/**
 * @author Pymjl
 * @version 1.0
 * @date 2022/8/11 0:17
 **/
public class HungrySingletonObject {
    private static HungrySingletonObject singleton;

    private HungrySingletonObject() {

    }

    static {
        singleton = new HungrySingletonObject();
    }

    public static HungrySingletonObject getInstance() {
        return singleton;
    }
}
